package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {

    void addActivity(Activity activity);


    PageResult<Activity> list(Integer channel, Integer type, Integer status, int page, int pageSize);


    Activity getActivityById(Integer id);


    void updateActivity(Activity activity);


    void deleteActivity(Integer id);


    List<Activity> getActivitiesByType(Integer type);
}